
disp('output from disp command ... ');
disp('hello world');

i=0;
sum=0;
while i < 10
    sum = sum + i;
    i = i + 1;
end

% disp('sum = ');
% sum

fprintf('sum=%d\n', sum);